public class ExtendsTest {
    public static void main1(String[] args) {

    }

}
class Animal{
    String name;
    public void move()
    {
        System.out.println(name+"正在移动!");
    }
}
class Cat extends Animal{

}